// { "framework": "Vue"} 
if(typeof app=="undefined"){app=weex}
if(typeof eeuiLog=="undefined"){var eeuiLog={_:function(t,e){var s=e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):e});if(typeof this.__m==='undefined'){this.__m=app.requireModule('debug')}this.__m.addLog(t,s)},debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];this._("debug",e)},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];this._("log",e)},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];this._("info",e)},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];this._("warn",e)},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];this._("error",e)}}}
/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = "./src/pages/index_tempalte.vue?entry=true");
/******/ })
/************************************************************************/
/******/ ({

/***/ "./src/i18n/index.js":
/*!***************************!*\
  !*** ./src/i18n/index.js ***!
  \***************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

var eeui = app.requireModule('eeui');
var locale = app.requireModule('locale') || app.requireModule('local');
Vue.mixin({
  data: function data() {
    return {
      privateLanguageData: {
        en: __webpack_require__(/*! ./lang/en.js */ "./src/i18n/lang/en.js")["default"],
        zh: __webpack_require__(/*! ./lang/zh.js */ "./src/i18n/lang/zh.js")["default"]
      },
      privateLanguageType: 'system'
    };
  },
  created: function created() {
    this.__loadLanguage();

    this.__setLanguageListener();
  },
  methods: {
    __loadLanguage: function __loadLanguage() {
      var _this = this;

      var language = eeui.getCachesString("EEUI_I18N_LANGUAGE", "system");

      if (language === "system") {
        this.__getSystemLanguage(function (syslang) {
          if (syslang === null) syslang = 'zh';
          _this.privateLanguageType = syslang;
        });
      } else {
        this.privateLanguageType = language;
      }
    },
    __parseLanguage: function __parseLanguage(language) {
      var supportedLanguageRE = /(en|zh)\_?\w*/i;
      var match = supportedLanguageRE.exec(language + "");

      if (match && match[1]) {
        return match[1];
      }

      return "";
    },
    __getSystemLanguage: function __getSystemLanguage(callback) {
      var _this2 = this;

      try {
        var useSync = false;
        var resSync = locale.getLanguage(function (language) {
          var lang = _this2.__parseLanguage(language);

          if (lang) {
            useSync || callback(lang);
          } else {
            callback(null);
          }
        });

        var langSync = this.__parseLanguage(resSync);

        if (langSync) {
          useSync = true;
          callback(langSync);
        } else {
          callback(null);
        }
      } catch (e) {
        callback(null);
      }
    },
    __setLanguageListener: function __setLanguageListener() {
      var _this3 = this;

      var pageInfo = eeui.getPageInfo();

      if (pageInfo && pageInfo['pageName']) {
        var pageName = pageInfo['pageName'];
        var listenerName = pageName + "::i18n-change";
        var listenerLists = [];

        try {
          listenerLists = JSON.parse(eeui.getVariate("__i18n::listener", "[]"));

          if (!(listenerLists instanceof Array)) {
            listenerLists = [];
          }
        } catch (e) {
          listenerLists = [];
        }

        if (listenerLists.indexOf(listenerName) === -1) {
          listenerLists.push(listenerName);
          eeui.setVariate("__i18n::listener", JSON.stringify(listenerLists));
        }

        eeui.setPageStatusListener({
          pageName: pageName,
          listenerName: listenerName
        }, function (res) {
          if (res.status === listenerName) {
            eeui.setCachesString("EEUI_I18N_LANGUAGE", res.extra, 0);

            _this3.__loadLanguage();
          }
        });
      }
    },

    /**
     * 语言包数据
     * @param language
     * @param data
     */
    addLanguageData: function addLanguageData(language, data) {
      if (!language || _typeof(data) !== "object") {
        return;
      }

      if (typeof this.privateLanguageData[language] === "undefined") {
        this.privateLanguageData[language] = {};
      }

      Object.assign(this.privateLanguageData[language], data);
    },

    /**
     * 变化语言
     * @param language
     */
    setLanguage: function setLanguage(language) {
      var listenerLists = [];

      try {
        listenerLists = JSON.parse(eeui.getVariate("__i18n::listener", "[]"));

        if (!(listenerLists instanceof Array)) {
          listenerLists = [];
        }
      } catch (e) {
        listenerLists = [];
      } //


      listenerLists.forEach(function (listenerName) {
        if (listenerName && listenerName.indexOf("::i18n-change")) {
          var pageName = listenerName.substring(0, listenerName.indexOf("::i18n-change"));
          eeui.onPageStatusListener({
            listenerName: listenerName,
            pageName: pageName,
            extra: language || "system"
          }, listenerName);
        }
      });
    },

    /**
     * 获取语言
     * @returns {*}
     */
    getLanguage: function getLanguage() {
      return eeui.getCachesString("EEUI_I18N_LANGUAGE", "system");
    },

    /**
     * 显示语言
     * @return {string}
     */
    lang: function lang(text) {
      if (_typeof(this.privateLanguageData[this.privateLanguageType]) === "object") {
        return this.privateLanguageData[this.privateLanguageType][text] || text;
      }

      return text;
    }
  }
});

/***/ }),

/***/ "./src/i18n/lang/en.js":
/*!*****************************!*\
  !*** ./src/i18n/lang/en.js ***!
  \*****************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ({
  "组件": "Components",
  "自定义组件": "Custom Component UI",
  "模块": "Module",
  "插件化": "Plugins",
  "关于": "About EEUI",
  "更多插件": "More Plug-in",
  "扫码历史": "QRCode History",
  "清空历史": "Clean History",
  "轮播控件": "banner",
  "常用按钮": "button",
  "网格容器": "grid",
  "字体图标": "icon",
  "跑马文字": "marquee",
  "导航栏": "navbar",
  "列表容器": "scroll-view",
  "滚动文字": "scroll-text",
  "侧边栏": "side-panel",
  "标签页面": "tabbar",
  "Echarts图表": "Echarts",
  "Switch开关": "Switch",
  "页面功能": "Page function",
  "系统信息": "System information",
  "数据缓存": "Data storage",
  "确认对话框": "Alert dialog",
  "等待弹窗": "Loading popup",
  "验证弹窗": "Captcha popup",
  "二维码扫描": "Qr scaner",
  "跨域异步请求": "Ajax request",
  "剪切板": "Clipboard",
  "提示消息": "Toast",
  "广告弹窗": "Ad popups",
  "城市选择器": "City picker",
  "图片选择器": "Picture picker",
  "组件截图": "Screenshots",
  "融云通信模块": "Rongim",
  "友盟推送模块": "Umeng push",
  "第三方支付(微信/支付宝)": "Pay (wxpay/alipay)",
  "即时通讯": "Websocket",
  "开发文档": "Dev document",
  "托管平台": "Github",
  "交流社区": "Community",
  "EEUI版本": "EEUI version",
  "切换语言": "Switch Languages",
  "跟随系统": "Follow System",
  "语言": "Language",
  "温馨提示": "Tips",
  "删除提示": "Delete prompt",
  "你确定要退出eeui.app吗？": "Are you sure you want to quit eeui.app?",
  "你确定要删除扫码记录吗？": "Are you sure you want to delete the scan code record?",
  "取消": "CANCEL",
  "确定": "OK",
  "标题": "Title"
});

/***/ }),

/***/ "./src/i18n/lang/zh.js":
/*!*****************************!*\
  !*** ./src/i18n/lang/zh.js ***!
  \*****************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ({
  "组件": "组件 Components",
  "自定义组件": "自定义组件 UI",
  "模块": "模块 Module",
  "插件化": "插件化 Plugins",
  "关于": "关于 About EEUI"
});

/***/ }),

/***/ "./src/pages/index_tempalte.vue?entry=true":
/*!*************************************************!*\
  !*** ./src/pages/index_tempalte.vue?entry=true ***!
  \*************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

var __vue_exports__, __vue_options__
var __vue_styles__ = []

/* styles */
__vue_styles__.push(__webpack_require__(/*! !C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-loader!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-rewriter?id=data-v-b73bc0ca!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector?type=styles&index=0!./index_tempalte.vue */ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-rewriter.js?id=data-v-b73bc0ca!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=styles&index=0!./src/pages/index_tempalte.vue")
)

/* script */
__vue_exports__ = __webpack_require__(/*! !C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/script-loader!babel-loader!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector?type=script&index=0!./index_tempalte.vue */ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\script-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=script&index=0!./src/pages/index_tempalte.vue")

/* template */
var __vue_template__ = __webpack_require__(/*! !C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/template-compiler?id=data-v-b73bc0ca!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector?type=template&index=0!./index_tempalte.vue */ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\template-compiler.js?id=data-v-b73bc0ca!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=template&index=0!./src/pages/index_tempalte.vue")
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
  typeof __vue_exports__.default === "object" ||
  typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {eeuiLog.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
  __vue_options__ = __vue_options__.options
}
__vue_options__.__file = "F:\\vuePro\\app\\eeui-template-2.3.1\\src\\pages\\index_tempalte.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__._scopeId = "data-v-b73bc0ca"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
  for (var name in module) {
    __vue_options__.style[name] = module[name]
  }
})
if (typeof __register_static_styles__ === "function") {
  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
}

module.exports = __vue_exports__
module.exports.el = 'true'
new Vue(module.exports)


/***/ }),

/***/ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\script-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=script&index=0!./src/pages/index_tempalte.vue":
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/script-loader.js!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/node_modules/babel-loader/lib!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector.js?type=script&index=0!./src/pages/index_tempalte.vue ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var eeui = app.requireModule('eeui');
var picker = app.requireModule('picker');

__webpack_require__(/*! ../i18n */ "./src/i18n/index.js");

/* harmony default export */ __webpack_exports__["default"] = ({
  data: function data() {
    return {
      components: [{
        title: '轮播控件',
        title_en: 'banner',
        icon: 'md-easel',
        url: 'component_banner.js'
      }, {
        title: '常用按钮',
        title_en: 'button',
        icon: 'logo-youtube',
        url: 'component_button.js'
      }, {
        title: '网格容器',
        title_en: 'grid',
        icon: 'md-grid',
        url: 'component_grid.js'
      }, {
        title: '字体图标',
        title_en: 'icon',
        icon: 'logo-ionic',
        url: 'component_icon.js'
      }, {
        title: '跑马文字',
        title_en: 'marquee',
        icon: 'md-code-working',
        url: 'component_marquee.js'
      }, {
        title: '导航栏',
        title_en: 'navbar',
        icon: 'md-menu',
        url: 'component_navbar.js'
      }, {
        title: '列表容器',
        title_en: 'scroll-view',
        icon: 'md-list',
        url: 'component_list.js'
      }, {
        title: '滚动文字',
        title_en: 'scroll-text',
        icon: 'ios-more',
        url: 'component_scroll_text.js'
      }, {
        title: '侧边栏',
        title_en: 'side-panel',
        icon: 'md-albums',
        url: 'component_side_panel.js'
      }, {
        title: '标签页面',
        title_en: 'tabbar',
        icon: 'md-filing',
        url: 'component_tabbar.js'
      }],
      uis: [{
        title: 'Echarts图表',
        title_en: 'w-echarts',
        icon: 'md-trending-up',
        url: 'ui_echarts.js'
      }, {
        title: 'Switch开关',
        title_en: 'w-switch',
        icon: 'md-switch',
        url: 'ui_switch.js'
      }],
      module: [{
        title: '页面功能',
        title_en: 'newPage',
        icon: 'md-book',
        url: 'module_page.js'
      }, {
        title: '系统信息',
        title_en: 'system',
        icon: 'ios-cog',
        url: 'module_system.js'
      }, {
        title: '数据缓存',
        title_en: 'storage',
        icon: 'md-beaker',
        url: 'module_caches.js'
      }, {
        title: '确认对话框',
        title_en: 'alert',
        icon: 'md-alert',
        url: 'module_alert.js'
      }, {
        title: '等待弹窗',
        title_en: 'loading',
        icon: 'tb-loading',
        url: 'module_loading.js'
      }, {
        title: '验证弹窗',
        title_en: 'captcha',
        icon: 'md-checkmark-circle',
        url: 'module_captcha.js'
      }, {
        title: '二维码扫描',
        title_en: 'scaner',
        icon: 'tb-scan',
        url: 'module_scaner.js'
      }, {
        title: '跨域异步请求',
        title_en: 'ajax',
        icon: 'md-git-pull-request',
        url: 'module_ajax.js'
      }, {
        title: '剪切板',
        title_en: 'clipboard',
        icon: 'md-copy',
        url: 'module_plate.js'
      }, {
        title: '提示消息',
        title_en: 'toast',
        icon: 'md-notifications',
        url: 'module_toast.js'
      }, {
        title: '广告弹窗',
        title_en: 'adDialog',
        icon: 'logo-buffer',
        url: 'module_ad_dialog.js'
      }],
      plugin: [{
        title: '城市选择器',
        title_en: 'citypicker',
        icon: 'md-pin',
        url: 'plugin_citypicker.js'
      }, {
        title: '图片选择器',
        title_en: 'picture',
        icon: 'md-camera',
        url: 'plugin_picture.js'
      }, {
        title: '组件截图',
        title_en: 'screenshots',
        icon: 'md-crop',
        url: 'plugin_screenshots.js'
      }, {
        title: '融云通信模块',
        title_en: 'rongim',
        icon: 'tb-community',
        url: 'plugin_rongim.js'
      }, {
        title: '友盟推送模块',
        title_en: 'umeng',
        icon: 'md-send',
        url: 'plugin_umeng.js'
      }, {
        title: '第三方支付(微信/支付宝)',
        title_en: 'pay',
        icon: 'tb-sponsor',
        url: 'plugin_pay.js'
      }, {
        title: '即时通讯',
        title_en: 'websocket',
        icon: 'md-repeat',
        url: 'plugin_websocket.js'
      }],
      abouts: [{
        title: '开发文档',
        title_en: 'document',
        icon: 'md-code-working',
        url: 'https://eeui.app'
      }, {
        title: '托管平台',
        title_en: 'github',
        icon: 'logo-github',
        url: 'https://github.com/kuaifan/eeui'
      }, {
        title: '交流社区',
        title_en: 'https://bbs.eeui.app',
        icon: 'logo-rss',
        url: 'https://bbs.eeui.app'
      }, {
        title: 'EEUI版本',
        title_en: eeui.getVersionName(),
        icon: 'md-information-circle',
        url: 'https://eeui.app'
      }],
      history: [],
      language: 'system'
    };
  },
  created: function created() {
    var _this = this;

    this.history = this.jsonParse(eeui.getCachesString("scaner", []), []); //

    eeui.setPageBackPressed(null, function () {
      eeui.confirm({
        title: _this.lang("温馨提示"),
        message: _this.lang("你确定要退出eeui.app吗？"),
        buttons: [_this.lang("取消"), _this.lang("确定")]
      }, function (result) {
        if (result.status === "click" && result.title === _this.lang("确定")) {
          eeui.closePage(null);
        }
      });
    });
  },
  methods: {
    scaner: function scaner() {
      var _this2 = this;

      eeui.openScaner(null, function (res) {
        if (res.status === "success") {
          _this2.history.unshift(res.text);

          eeui.setCachesString("scaner", _this2.jsonStringify(_this2.history), 0);

          _this2.openAuto(res.text);
        }
      });
    },
    refresh: function refresh() {
      eeui.reloadPage();
    },
    openUrl: function openUrl(url) {
      eeui.openPage({
        url: url,
        pageType: 'app'
      });
    },
    openWeb: function openWeb(url) {
      this.openViewUrl(url);
    },
    openAuto: function openAuto(url) {
      eeui.openPage({
        url: url,
        pageType: 'auto'
      });
    },
    clearHistory: function clearHistory() {
      var _this3 = this;

      eeui.confirm({
        title: this.lang("删除提示"),
        message: this.lang("你确定要删除扫码记录吗？"),
        buttons: [this.lang("取消"), this.lang("确定")]
      }, function (result) {
        if (result.status === "click" && result.title === _this3.lang("确定")) {
          _this3.history = [];
          eeui.setCachesString("scaner", _this3.jsonStringify(_this3.history), 0);
        }
      });
    },
    languageName: function languageName() {
      var options = ['system', 'en', 'zh'];
      var optionsF = [this.lang("跟随系统"), 'English', '中文'];
      return optionsF[options.indexOf(this.language)];
    },
    languageSettings: function languageSettings() {
      var _this4 = this;

      var options = ['system', 'en', 'zh'];
      var index = options.indexOf(this.getLanguage());
      picker.pick({
        title: this.lang("切换语言"),
        index: index,
        items: [this.lang("跟随系统"), 'English', '中文']
      }, function (res) {
        var result = res.result,
            data = res.data;

        if (result === 'success') {
          _this4.setLanguage(options[data]);

          _this4.language = options[data];
        }
      });
    }
  }
});

/***/ }),

/***/ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-loader.js!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\style-rewriter.js?id=data-v-b73bc0ca!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=styles&index=0!./src/pages/index_tempalte.vue":
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-loader.js!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/style-rewriter.js?id=data-v-b73bc0ca!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector.js?type=styles&index=0!./src/pages/index_tempalte.vue ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = {
  "app": {
    "flex": 1
  },
  "navbar": {
    "width": "750",
    "height": "100"
  },
  "navbar-main": {
    "flexDirection": "row",
    "alignItems": "center"
  },
  "navbar-logo": {
    "width": "36",
    "height": "36",
    "marginRight": "18"
  },
  "navbar-title": {
    "fontSize": "32",
    "color": "#ffffff"
  },
  "navbar-icon": {
    "width": "100",
    "height": "100",
    "color": "#ffffff"
  },
  "list": {
    "width": "750",
    "flex": 1
  },
  "list-title-box": {
    "flexDirection": "row",
    "alignItems": "center",
    "backgroundColor": "#ffffff"
  },
  "list-title": {
    "flex": 1,
    "paddingTop": "32",
    "paddingRight": "24",
    "paddingBottom": "32",
    "paddingLeft": "24",
    "fontSize": "28",
    "color": "#757575",
    "backgroundColor": "#ffffff"
  },
  "list-subtitle": {
    "paddingRight": "24",
    "fontSize": "24"
  },
  "list-item": {
    "flexDirection": "row",
    "alignItems": "center",
    "justifyContent": "space-between",
    "height": "100",
    "width": "750",
    "paddingLeft": "20",
    "paddingRight": "20",
    "borderTopWidth": "1",
    "borderTopColor": "#f2f2f2",
    "borderTopStyle": "solid"
  },
  "list-item-left": {
    "flexDirection": "row",
    "alignItems": "center",
    "justifyContent": "flex-start",
    "height": "100",
    "flex": 1
  },
  "list-left-icon": {
    "width": "60",
    "height": "60",
    "color": "#3EB4FF"
  },
  "list-left-title": {
    "color": "#242424",
    "paddingLeft": "12",
    "width": "380",
    "fontSize": "26",
    "textOverflow": "ellipsis",
    "lines": 1
  },
  "list-left-title-history": {
    "color": "#666666",
    "paddingLeft": "12",
    "width": "660",
    "fontSize": "26",
    "textOverflow": "ellipsis",
    "lines": 2
  },
  "list-right-title": {
    "color": "#a2a2a2",
    "paddingRight": "3",
    "fontSize": "22",
    "textOverflow": "ellipsis",
    "lines": 1
  },
  "list-right-icon": {
    "fontSize": "24",
    "width": "40",
    "height": "40",
    "color": "#C9C9CE",
    "content": "'tb-right'"
  },
  "list-item-right": {
    "flexDirection": "row",
    "alignItems": "center",
    "justifyContent": "flex-end",
    "height": "100"
  }
}

/***/ }),

/***/ "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\template-compiler.js?id=data-v-b73bc0ca!C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\eeui-cli\\lib\\loaders\\eeui-loader\\lib\\selector.js?type=template&index=0!./src/pages/index_tempalte.vue":
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/template-compiler.js?id=data-v-b73bc0ca!C:/Users/Administrator/AppData/Roaming/npm/node_modules/eeui-cli/lib/loaders/eeui-loader/lib/selector.js?type=template&index=0!./src/pages/index_tempalte.vue ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
  return _c('div', {
    staticClass: ["app"]
  }, [_c('navbar', {
    staticClass: ["navbar"]
  }, [_c('navbar-item', {
    attrs: {
      "type": "left"
    },
    on: {
      "click": _vm.scaner
    }
  }, [_c('icon', {
    staticClass: ["navbar-icon"],
    attrs: {
      "eeui": {
        content: 'tb-scan'
      }
    }
  })], 1), _c('navbar-item', {
    attrs: {
      "type": "title"
    }
  }, [_c('div', {
    staticClass: ["navbar-main"]
  }, [_c('image', {
    staticClass: ["navbar-logo"],
    attrs: {
      "src": "root://pages/logo-white.png"
    }
  }), _c('text', {
    staticClass: ["navbar-title"]
  }, [_vm._v("EEUI")])])]), _c('navbar-item', {
    attrs: {
      "type": "right"
    },
    on: {
      "click": _vm.refresh
    }
  }, [_c('icon', {
    staticClass: ["navbar-icon"],
    attrs: {
      "eeui": {
        content: 'md-refresh'
      }
    }
  })], 1)], 1), _c('scroll-view', {
    staticClass: ["list"]
  }, [_c('scroll-header', [_c('text', {
    staticClass: ["list-title"]
  }, [_vm._v(_vm._s(_vm.lang('组件')))])]), _vm._l((_vm.components), function(item, index) {
    return _c('div', {
      key: index,
      staticClass: ["list-item"],
      on: {
        "click": function($event) {
          _vm.openUrl(_vm.resourceUrl + item.url)
        }
      }
    }, [_c('div', {
      staticClass: ["list-item-left"]
    }, [_c('icon', {
      staticClass: ["list-left-icon"],
      attrs: {
        "eeui": {
          content: item.icon
        }
      }
    }), _c('text', {
      staticClass: ["list-left-title"]
    }, [_vm._v(_vm._s(_vm.lang(item.title)))])], 1), _c('div', {
      staticClass: ["list-item-right"]
    }, [_c('text', {
      staticClass: ["list-right-title"]
    }, [_vm._v("<" + _vm._s(item.title_en) + ">")]), _c('icon', {
      staticClass: ["list-right-icon"]
    })], 1)])
  }), _c('scroll-header', [_c('text', {
    staticClass: ["list-title"]
  }, [_vm._v(_vm._s(_vm.lang('自定义组件')))])]), _vm._l((_vm.uis), function(item, index) {
    return _c('div', {
      key: index,
      staticClass: ["list-item"],
      on: {
        "click": function($event) {
          _vm.openUrl(_vm.resourceUrl + item.url)
        }
      }
    }, [_c('div', {
      staticClass: ["list-item-left"]
    }, [_c('icon', {
      staticClass: ["list-left-icon"],
      attrs: {
        "eeui": {
          content: item.icon
        }
      }
    }), _c('text', {
      staticClass: ["list-left-title"]
    }, [_vm._v(_vm._s(_vm.lang(item.title)))])], 1), _c('div', {
      staticClass: ["list-item-right"]
    }, [_c('text', {
      staticClass: ["list-right-title"]
    }, [_vm._v("<" + _vm._s(item.title_en) + ">")]), _c('icon', {
      staticClass: ["list-right-icon"]
    })], 1)])
  }), _c('scroll-header', [_c('text', {
    staticClass: ["list-title"]
  }, [_vm._v(_vm._s(_vm.lang('模块')))])]), _vm._l((_vm.module), function(item, index) {
    return _c('div', {
      key: index,
      staticClass: ["list-item"],
      on: {
        "click": function($event) {
          _vm.openUrl(_vm.resourceUrl + item.url)
        }
      }
    }, [_c('div', {
      staticClass: ["list-item-left"]
    }, [_c('icon', {
      staticClass: ["list-left-icon"],
      attrs: {
        "eeui": {
          content: item.icon
        }
      }
    }), _c('text', {
      staticClass: ["list-left-title"]
    }, [_vm._v(_vm._s(_vm.lang(item.title)))])], 1), _c('div', {
      staticClass: ["list-item-right"]
    }, [_c('text', {
      staticClass: ["list-right-title"]
    }, [_vm._v(_vm._s(item.title_en))]), _c('icon', {
      staticClass: ["list-right-icon"]
    })], 1)])
  }), _c('scroll-header', [_c('text', {
    staticClass: ["list-title"]
  }, [_vm._v(_vm._s(_vm.lang('插件化')))])]), _vm._l((_vm.plugin), function(item, index) {
    return _c('div', {
      key: index,
      staticClass: ["list-item"],
      on: {
        "click": function($event) {
          _vm.openUrl(_vm.resourceUrl + item.url)
        }
      }
    }, [_c('div', {
      staticClass: ["list-item-left"]
    }, [_c('icon', {
      staticClass: ["list-left-icon"],
      attrs: {
        "eeui": {
          content: item.icon
        }
      }
    }), _c('text', {
      staticClass: ["list-left-title"]
    }, [_vm._v(_vm._s(_vm.lang(item.title)))])], 1), _c('div', {
      staticClass: ["list-item-right"]
    }, [_c('text', {
      staticClass: ["list-right-title"]
    }, [_vm._v(_vm._s(item.title_en))]), _c('icon', {
      staticClass: ["list-right-icon"]
    })], 1)])
  }), _c('div', {
    staticClass: ["list-item"],
    on: {
      "click": function($event) {
        _vm.openWeb('https://eeui.app/markets/')
      }
    }
  }, [_c('div', {
    staticClass: ["list-item-left"]
  }, [_c('icon', {
    staticClass: ["list-left-icon"],
    attrs: {
      "content": "tb-more"
    }
  }), _c('text', {
    staticClass: ["list-left-title"]
  }, [_vm._v(_vm._s(_vm.lang('更多插件')))])], 1), _c('div', {
    staticClass: ["list-item-right"]
  }, [_c('text', {
    staticClass: ["list-right-title"]
  }), _c('icon', {
    staticClass: ["list-right-icon"]
  })], 1)]), _c('scroll-header', [_c('text', {
    staticClass: ["list-title"]
  }, [_vm._v(_vm._s(_vm.lang('关于')))])]), _vm._l((_vm.abouts), function(item, index) {
    return _c('div', {
      key: index,
      staticClass: ["list-item"],
      on: {
        "click": function($event) {
          _vm.openWeb(item.url)
        }
      }
    }, [_c('div', {
      staticClass: ["list-item-left"]
    }, [_c('icon', {
      staticClass: ["list-left-icon"],
      attrs: {
        "eeui": {
          content: item.icon
        }
      }
    }), _c('text', {
      staticClass: ["list-left-title"]
    }, [_vm._v(_vm._s(_vm.lang(item.title)))])], 1), _c('div', {
      staticClass: ["list-item-right"]
    }, [_c('text', {
      staticClass: ["list-right-title"]
    }, [_vm._v(_vm._s(item.title_en))]), _c('icon', {
      staticClass: ["list-right-icon"]
    })], 1)])
  }), _c('div', {
    staticClass: ["list-item"],
    on: {
      "click": _vm.languageSettings
    }
  }, [_c('div', {
    staticClass: ["list-item-left"]
  }, [_c('icon', {
    staticClass: ["list-left-icon"],
    attrs: {
      "eeui": {
        content: 'md-globe'
      }
    }
  }), _c('text', {
    staticClass: ["list-left-title"]
  }, [_vm._v(_vm._s(_vm.lang('语言')))])], 1), _c('div', {
    staticClass: ["list-item-right"]
  }, [_c('text', {
    staticClass: ["list-right-title"]
  }, [_vm._v(_vm._s(_vm.languageName()))]), _c('icon', {
    staticClass: ["list-right-icon"]
  })], 1)]), (_vm.history.length > 0) ? _c('scroll-header', {
    staticClass: ["list-title-box"]
  }, [_c('text', {
    staticClass: ["list-title"]
  }, [_vm._v(_vm._s(_vm.lang('扫码历史')))]), _c('text', {
    staticClass: ["list-subtitle"],
    on: {
      "click": function($event) {
        _vm.clearHistory()
      }
    }
  }, [_vm._v(_vm._s(_vm.lang('清空历史')))])]) : _vm._e(), (_vm.history.length > 0) ? _c('div', _vm._l((_vm.history), function(text, index) {
    return _c('div', {
      key: index,
      staticClass: ["list-item"],
      on: {
        "click": function($event) {
          _vm.openAuto(text)
        }
      }
    }, [_c('div', {
      staticClass: ["list-item-left"]
    }, [_c('text', {
      staticClass: ["list-left-title-history"]
    }, [_vm._v(_vm._s(text))])]), _c('div', {
      staticClass: ["list-item-right"]
    }, [_c('icon', {
      staticClass: ["list-right-icon"]
    })], 1)])
  })) : _vm._e()], 2)], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true

/***/ })

/******/ });